<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<script type="text/javascript">
		function ruzhi(i) {
			
			$.ajax({
				url: "emp-login",
				data: {
					prrid:i;
				},
				success: function(data){
					alert("入职成功！")
				}
			});
		}
	</script> 
	<link rel="stylesheet" href="../static/zyc/css/emp-login.css?<%=Math.random()%>">
	<div class="full_scr bj_home">
		<div class="bj_img" style="background-image:${hopa.perPmsZts[0].ztback}"></div>
		<div class="bj_txt">
			<div class="bj_small bj_s_w7">
			
			   	<div class="login_head">
					<span class="text_style_title">入职记录</span>
				</div>
				<div class="login_box">
					<ul>
						<c:forEach items="${Rcd}" var="s">
							<li class="len">
								<div class="login_liz">
									<img class="len" src="${s.perRetRse.rsehide}">
									<div class="len">
										<h1>${s.perRetRse.rsename}<span>${s.perRetRse.rsejieshao}</span></h1><br/>
										<p title="${s.perRetRse.perPmsPot.potzw}">入职岗位：${s.perRetRse.perPmsPot.potzw}</p>
									</div>
									<div class="rin">
										<button class="green" onclick="ruzhi(${s.rcdid})">入职</button>
									</div>
								</div>
							</li>
						</c:forEach>
						
					</ul>
				</div>
			    
			</div>
		</div>
	</div>
</body>
</html>